package android.app.betmein.activity;

import viewmodel.MasterPageViewModel;
import android.app.betmein.R;
import android.app.betmein.view.SingleMasterPageView;
import android.framework.paging.BaseViewInitializer;

public abstract class SingleMasterPageActivity extends NavigationBaseActivity{
	@Override
	public BaseViewInitializer getView() {
		MasterPageViewModel vm = new MasterPageViewModel(this);
		SingleMasterPageView view = new SingleMasterPageView(vm, this, R.layout.master_page, innerGetView().initView());
		vm.setView(view);
		return view;
	}
	
	protected abstract BaseViewInitializer innerGetView();

}
